[INFO] fetching crate seven 0.1.0...
[INFO] checking seven-0.1.0 against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] extracting crate seven 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate seven 0.1.0 on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate seven 0.1.0
[INFO] finished tweaking crates.io crate seven 0.1.0
[INFO] tweaked toml for crates.io crate seven 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6ac169c8277146e2a5e70c1746b2405fd5f6d5d319af6309845ea07619f42a3a
[INFO] running `Command { std: "docker" "start" "-a" "6ac169c8277146e2a5e70c1746b2405fd5f6d5d319af6309845ea07619f42a3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ac169c8277146e2a5e70c1746b2405fd5f6d5d319af6309845ea07619f42a3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ac169c8277146e2a5e70c1746b2405fd5f6d5d319af6309845ea07619f42a3a", kill_on_drop: false }`
[INFO] [stdout] 6ac169c8277146e2a5e70c1746b2405fd5f6d5d319af6309845ea07619f42a3a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f54c39b7ccd9681fce9fd869cbb150885f7ea2324b1e6d7d4dd413d7ed9acf7
[INFO] running `Command { std: "docker" "start" "-a" "5f54c39b7ccd9681fce9fd869cbb150885f7ea2324b1e6d7d4dd413d7ed9acf7", kill_on_drop: false }`
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking walkdir v2.3.3
[INFO] [stderr]     Checking seven v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | type MiddlewareFunction = Box<FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 | type MiddlewareFunction = Box<dyn FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | type MiddlewareFunction = Box<FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 | type MiddlewareFunction = Box<dyn FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/lib.rs:64:22
[INFO] [stdout]    |
[INFO] [stdout] 64 |           let result = seven(vec![
[INFO] [stdout]    |  ______________________^^^^^-
[INFO] [stdout] 65 | |             Box::new(|files: &mut Vec<SimpleFile>| {
[INFO] [stdout] 66 | |                 let file: &mut SimpleFile = &mut files[0];
[INFO] [stdout] 67 | |                 file.content = "test hello".to_string();
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |             }),
[INFO] [stdout] 73 | |         ]);
[INFO] [stdout]    | |__________- an argument of type `&str` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn seven(middleware: Vec<MiddlewareFunction>, destination: &str) -> Vec<SimpleFile> {
[INFO] [stdout]    |        ^^^^^ -----------------------------------  -----------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 64 ~         let result = seven(vec![
[INFO] [stdout] 65 +             Box::new(|files: &mut Vec<SimpleFile>| {
[INFO] [stdout] 66 +                 let file: &mut SimpleFile = &mut files[0];
[INFO] [stdout] 67 +                 file.content = "test hello".to_string();
[INFO] [stdout] 68 +             }),
[INFO] [stdout] 69 +             Box::new(|files: &mut Vec<SimpleFile>| {
[INFO] [stdout] 70 +                 let file: &mut SimpleFile = &mut files[0];
[INFO] [stdout] 71 +                 file.content = "override".to_string();
[INFO] [stdout] 72 +             }),
[INFO] [stdout] 73 ~         ], /* &str */);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `seven` (lib test) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `destination`
[INFO] [stdout]   --> src/lib.rs:18:51
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn seven(middleware: Vec<MiddlewareFunction>, destination: &str) -> Vec<SimpleFile> {
[INFO] [stdout]    |                                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `abs_path` is never read
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct SimpleFile {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 11 |     content: String,
[INFO] [stdout] 12 |     abs_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SimpleFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/lib.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             &files.push(file_struct);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let _ = &files.push(file_struct);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5f54c39b7ccd9681fce9fd869cbb150885f7ea2324b1e6d7d4dd413d7ed9acf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f54c39b7ccd9681fce9fd869cbb150885f7ea2324b1e6d7d4dd413d7ed9acf7", kill_on_drop: false }`
[INFO] [stdout] 5f54c39b7ccd9681fce9fd869cbb150885f7ea2324b1e6d7d4dd413d7ed9acf7
